package pdai.tech.concurrent;

public class SynchronizedDemo2 {
    Object object = new Object();

    public void method1() {
        synchronized (object) {
            method2();
        }
    }

    private static void method2() {

    }
}
